package com.woniuxy.service;

import com.woniuxy.entity.MenuEntity;
import com.woniuxy.entity.MenusRoleDTO;
import com.woniuxy.entity.ResponseEntity;

/**
 * @Author: 马宇航
 * @Description: TODO
 * @DateTime: 22/05/25/0025 上午 10:43
 * @Component: 成都蜗牛学苑
 **/
public interface RbacMenuService {
    ResponseEntity findAll();

    ResponseEntity getFatherMenu();

    ResponseEntity saveMenu(MenuEntity menuEntity);

    ResponseEntity findAllByRoleId(int roleId);

    ResponseEntity saveMenusByRoleId(MenusRoleDTO menusRoleDTO);

    ResponseEntity getMenusByRoleId(int roleId);
}
